package com.secxiot.provider.task.dao;

import com.secxiot.provider.task.entity.TaskContent;
import com.secxiot.provider.task.entity.TaskContentExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TaskContentDao {
    int countByExample(TaskContentExample example);

    int deleteByExample(TaskContentExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TaskContent record);

    int insertSelective(TaskContent record);

    List<TaskContent> selectByExample(TaskContentExample example);

    TaskContent selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TaskContent record, @Param("example") TaskContentExample example);

    int updateByExample(@Param("record") TaskContent record, @Param("example") TaskContentExample example);

    int updateByPrimaryKeySelective(TaskContent record);

    int updateByPrimaryKey(TaskContent record);
}